You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > LogN Method > TOpenCLMtxVec.LogN Method ([In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.LogN Method ([In] double)

Log base N.

Syntax
C#
Visual Basic
public TOpenCLMtxVec LogN([In] double N);

Log base N for all calling object elements in-place.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLVector a; clMtxVec.CreateIt(out a); try { a.CopyCplxFromArray(new double[] {1,2,3,4}); a.LogN(10.0); // log base 10, the slow way a = [Log10(1), Log10(2),...] } finally { clMtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!